#pragma once
#include <iostream>

#include "AVLTree.h"

void test1()
{
	MyAVL::AVLTree<int, int> avl1;
	for (int i = 0;i < 10000;i++)
	{
		avl1.insert({ i,i });
	}
	//avl1.InOrder();
	std::cout << avl1.Hight() << std::endl;
	std::cout << avl1.IsAVL() << std::endl;
	MyAVL::AVLTree<int, int> avl2(avl1);
	std::cout << avl2.Hight() << std::endl;
	std::cout << avl2.IsAVL() << std::endl;
	MyAVL::AVLTree<int, int> avl3;
	avl3 = avl1;
	std::cout << avl3.Hight() << std::endl;
	std::cout << avl3.IsAVL() << std::endl;

}

int main()
{
	test1();
	return 0;
}